.brand-section {
  padding: 20px;
  margin-top: 50px;
}

@keyframes fadeInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand-section h2 {
  font-family: 'Jost', 'Arial';
  color: #641734;
  text-align: right;
  font-size: 2rem;
  padding: 0px;
  margin-left: 40px;
}

.brand {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-left: 140px;
  margin-right: 140px;
  color: #000000;
  font-family: 'Jost', 'Arial';
  font-size: 1.8rem;
  background-color: #ffffff;
  padding: 40px;
  line-height: 1.2;
  border-radius: 150px;
  opacity: 0;
  animation: fadeInFromLeft 1s ease-in forwards;
  transition: transform 0.3s ease-in-out;
}

.brand img:hover {
  transform: scale(1.05);
}

.brand img {
  width: 200px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.brand-info h1 {
  margin-top: 0;
}

.brand-info h2,
.brand-info h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.brand-info h3 {
  font-size: 1.5rem;
  color: #641734;
  border-bottom: 1px solid #000000;
  line-height: 3;
  font-family: 'Platypi', 'Arial';
}

.brand-info p {
  font-size: 1rem;
  margin-bottom: 18px;
}

.title-section {
  display: flex;
  align-items: center;
  height: 80vh;
  position: relative;
  background-size: cover;
  background-position: center;
}

.text-overlay {
  margin-left: 75px;
  text-align: center;
  width: 300px;
  color: #ffffff;
  font-family: 'Rock Salt', 'Arial';
  font-size: 1.4rem;
  animation: fadeInAnimation 2s;
  line-height: 3rem;
}

@keyframes fadeInAnimation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.black-bar {
  height: 70px;
  background-color: rgb(255, 255, 255);
  width: 100%;
  position: absolute;
  bottom: 0;
  font-family: 'Platypi', 'Arial';
  font-size: 0.5rem;
  color: white;
  text-align: center;
}

.black-bar h1 {
  margin-top: 25px;
  color: #641734;
}

.additional-content {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 30px;
  background-color: #ffffff;
}

.image-button {
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
  width: calc(25% - 10px);
}

.image-button img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.button-content {
  padding: 20px;
  background-color: rgba(0, 0, 0, 0);
}

.button-header {
  font-family: 'Platypi', 'Arial';
  font-size: 24px;
  color: #641734;
  margin-bottom: 10px;
}

.button-description {
  font-family: 'Jost', 'Arial';
  font-size: 18px;
  color: rgb(0, 0, 0);
  margin-bottom: 20px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Jost', 'Arial';
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background-color: #641734;
  border-radius: 5px;
}

.image-button:hover {
  transform: scale(1.025);
}

/* Media Queries for Mobile Devices */
@media (max-width: 1000px) {
  .brand-section {
    padding: 10px;
    margin-top: 20px;
  }

  .brand-section h2 {
    font-size: 1.5rem;
    margin-left: 20px;
  }

  .brand {
    flex-direction: column;
    align-items: center;
    margin: 20px;
    padding: 10px;
    border-radius: 20px;
    text-align: center;
    /* Add this line to center text */
  }

  .brand img {
    width: 150px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .brand-info {
    display: flex;
    /* Add this line */
    flex-direction: column;
    /* Add this line */
    align-items: center;
    /* Add this line */
    justify-content: center;
    /* Add this line */
    text-align: center;
    /* Change this line to center text on mobile */
    width: 100%;
  }

  .brand-info h3 {
    font-size: 1.2rem;
    line-height: 2;
  }

  .text-overlay {
    width: 80%;
    margin: 0 auto;
    /* Add this line to center the overlay */
    font-size: 1rem;
    line-height: 2rem;
  }

  .black-bar {
    font-size: 0.8rem;
    height: 50px;
  }

  .black-bar h1 {
    font-size: 1rem;
  }

  .additional-content {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .image-button {
    width: 90%;
    margin-bottom: 20px;
  }

  .button-header {
    font-size: 20px;
  }

  .button-description {
    font-size: 16px;
  }

  .button {
    font-size: 14px;
    padding: 8px 16px;
  }
}